#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=videoproto
pkgver=2.3.3
pkgrel=1
pkgdesc="X11 Video extension wire protocol"
arch=('any')
url="https://xorg.freedesktop.org/"
license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2{,.sig})
sha256sums=('c7803889fd08e6fcaf7b68cc394fb038b2325d1f315e571a6954577e07cca702'
            'SKIP')
validpgpkeys=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
